﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NetworkPower.DataModel.Models.Mapping
{
    public class UnitCompositeMap : EntityTypeConfiguration<UnitComposite>
    {
        public UnitCompositeMap()
        {
            this.HasKey(t => t.UnitCompositeId);

            this.Property(t => t.SeperatorTypeId).HasColumnName("SeperatorTypeId");
            this.Property(t => t.UnitIds).HasColumnName("UnitIds");
            this.Property(t => t.UnitAndSeperatorName).HasColumnName("UnitAndSeperatorName");
        }
    }
}
